A Java Card CAP converter in PVS
نویسندگان
چکیده
The Java Card language is a trimmed down dialect of Java aimed at programming smart cards. Java Card specifies its own class file format (the Java Card Converted APplet (CAP) format) that is optimised with respect to the limited space resources of smart cards. This paper deals with the certified development of algorithms necessary for the conversion of ordinary Java class files into the CAP format. More precisely, these algorithms are concerned with constructing and compressing method tables and constant pools. The main contribution of this paper is to specify and prove the correctness of these algorithms using the theorem prover PVS.
منابع مشابه
JCSI: A tool for checking secure information flow in Java Card applications
This paper describes a tool for checking secure information flow in Java Card applications. The tool performs a static analysis of Java Card CAP files and includes a CAP viewer. The analysis is based on the theory of abstract interpretation and on a multi-level security policy assignment. Actual values of variables are abstracted into security levels, and bytecode instructions are executed over...
متن کاملFormal Specification and Verification of JavaCard's Application Identifier Class
This note discusses a verification in PVS of the AID (Appli cation Identifier) class from JavaCard’s API. The properties th a t are verified are formulated in the interface specification language JML. This language is also used to express the properties tha t are assumed about the native methods from the Util class tha t are used in the AID class.
متن کاملMemory Forensics of a Java Card Dump
Nowadays several papers have shown the ability to dump the EEPROM area of several Java Cards leading to the disclosure of already loaded applet and data structure of the card. Such a reverse engineering process is costly and prone to errors. Currently there are no tools available to help the process. We propose here an approach to find in the raw data obtained after a dump, the area containing ...
متن کاملExtending the Data Storage Capabilities of a Java-Based Smartcard
Present limitations on data memory for Java based smartcards are a serious restriction for application development. The paper presents a method for enhancing the data memory using virtual memory. Transparency for the oo-card application is achieved by the facade design pattern. Security constraints of smartcard applications have implications for the overall architecture and innuence the propose...
متن کاملCorrectness of Java Card Method Lookup via Logical Relations (extended Abstract)
We present a formalisation of the bytecode optimisation of Sun's Java Card language from the class le to CAP le format as a set of constraints between the two formats, and deene and prove its correctness. Java Card bytecode is formalised as an abstract operational semantics, which can then be instantiated into the two formats. The optimisation is given as a logical relation such that the instan...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 82 شماره
صفحات -
تاریخ انتشار 2003